package com.cwm.test.adapter.v1.interfa;


/**
 * 在AbsAdapter 我们将 Interface4 的方法进行默认实现（空实现）
 */
public class AbsAdapter implements Interface4 {

    private Adaptee adaptee;

    public AbsAdapter(Adaptee adaptee){
        this.adaptee = adaptee;
    }

    @Override
    public void m1() {
        System.out.println("m1");
    }

    @Override
    public void m2() {
        System.out.println("m2");
    }

    @Override
    public void m3() {
        System.out.println("m3");
    }

    @Override
    public void m4() {
        System.out.println("m4");
    }
}
